<template>
	<view class="page">
		<view class="background-overlay"></view>

		<view class="header">
			<view class="logo-container">
				<image
					src="/static/common/cglogo.png"
					class="hospital-logo"
					mode="aspectFit"
				/>
			</view>
			<text class="hospital-title">重钢总医院阳光推介系统</text>
			<text class="hospital-subtitle">Chonggang General Hospital Sunshine Referral System</text>
		</view>

		<view class="card-container">
			<view class="grid-container">
				<view class="grid-item" @click="navigateTo('/pages/register/register')">
					<van-icon name="user-o" class="grid-icon" />
					<text class="grid-text">厂商注册</text>
				</view>
				<view class="grid-item" @click="navigateTo('/pages/reservation/reservation')">
          <van-icon name="records-o" class="grid-icon" />
					<text class="grid-text">厂商预约</text>
				</view>
				<view class="grid-item" @click="navigateTo('/pages/reservation/reservation-list')">
					<van-icon name="search" class="grid-icon" />
					<text class="grid-text">预约查询</text>
				</view>
<!--?redirect=/pages/reservation/reservation-operate        -->
				<view class="grid-item" @click="navigateTo('/pages/login/login')">
					<van-icon name="setting-o" class="grid-icon" />
					<text class="grid-text">后台登陆</text>
				</view>
			</view>
		</view>

		<view class="footer">
			<text class="footer-text">© 2025 重钢总医院 数字化部</text>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {

			};
		},
		methods: {
			navigateTo(url) {
				uni.navigateTo({
					url,
				})
			}
		}
	}
</script>

<style lang="scss" scoped>
@import '@/theme/entry.scss';
</style>
